package Demo6;

import Demo5.Person;

public class Student extends Person {

    public Student(){
        System.out.println("Student类：构造代码块执行了...4");
    }
    {
        System.out.println("Student类： 实例化代码块执行了...5");
    }

    static{
        System.out.println("Student类：静态代码块执行了...6");
    }

   public void printAge(){
       System.out.println(super.age);
   }

}
